<html>
<head>
<script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js">
</script>
<script>

$(document).ready(function(){

    $.ajax({
        url: 'http://127.0.0.1:5000/sendDate',

        data: {

            'title':"成功",
            'datetime':"大号",
            'quiz':"好"
            
         //   "title=" + data.field['title'] + "&datetime=" + data.field['datetime'] + "&quiz=" + data.field['quiz']
            },
        type: 'post',
        dataType: 'json',
        success: function (data) { //后端返回的json数据（此处data为json对象）
            alert(data['errmsg']);
        },
        error: function () {
            alert('异常')
        }
    });


});




    /*

---------------------
作者：Williams Yan
来源：CSDN
原文：https://blog.csdn.net/u010197393/article/details/83503202
版权声明：本文为博主原创文章，转载请附上博文链接！
*/


</script>
</head>
<body>
    <form>



    </form>


</body>

</html>